Updated for OpenEmu API changes.