Move oneof containing class inside the companion object.
Use file name as a package.