Refactors how classes are defined to allow for private methods to be explicitly defined