Remove some deprecated methods in GraphDatabaseAPI.