Adding properties with inheritance and getters and setters