i#Extract callbacks inner class

Extract callbacks inner class