Hide ugly "extends ClassLoader" hack inside inner class