Implemented remove_useless_exports/2. Added hack RM.