Register: Using combined enum class and struct for type.
This however does not fully overcome the enum class casting problem.
Register: Settle on non-typesafe struct {enum}.
Register: Remove unittest, there isn’t really anything to test here.