Delete unused methods from User.java.