Fix calling subprogram from within protected object. Issue #84