Performance - Could be refactored into a named static inner class