proc.c: consider noex in define_method