Checked module arguments and threw warnings on failure.