Build.java file Removed unwanted methods