Added functions for getting enemies and removing entities.