Convenience factories for creating getter/setters