Add import monkey patch function