Move constant to inner class