Added pub to components
Removed pub mode around (now namespaced) enum