code reformat & scaladoc
scaladoc
bugfix
removed unnecessary method.