Removed unused code and added javadoc comments