Changes inner class to limit