Added Ryan McGuire's emac stuff.