expose getter/setter when instantiated