Support both montageRequire and require