Add explicit getters and setters, allowing for type safety