Movement of _behalf_of method from when_exe.rb to tmreference.rb