Adds getters for classes