Removed outdated code from inner class