What prompted refactoring to inner class?