changed mercury extension to .mercury, to avoid conflict with Obj-C