Support registering member variables with generated getters and setters.