Remove deprecated methods in GraphDatabaseAPI