User procedures migration from neo4j 3 to 4 - removed classes

I have a package which depends on some of classes from java driver 3.5

But they were removed in v4.
I am not a Java programmer, is it possible to somehow import these classes from other packages or I have to use neo4j 3.5?