Added sanity check to 3-argument module call.