Removed unused methods, added depend to pom