Added observable to the base code switch interface