CHECKSTYLE: Removed unused private methods, added serialization id to classes

A number of private unused methods are now removed in this pull, and added `serialVersionUID` fields to classes that needed it.