deprecate some properties
making this an inner class