Change magic methods to getters