Prefix import functions with MR_ to avoid conflicts

Closes #722.