I am not sure it makes sense to re-assign entityMethods inside the onLoad event. But I see what you mean. I will try this out.