Add hacky emfm-specific stuff