Deleting unused 'registerEnemy' method.