clean up error classes. Remove command specific events