Changing to use Event for the command created callback - also renamed from afterCommandCreated to commandCreated