add nested classes access to match anf getchannel