Added GenerateEntity command.