get rid of old java methods and predicates. New methods are added. More to come