Finally, I found an easy solution to provide the "evil" auto-registration without getting death threats from the wardens of Go purity. The reasoning can be found in the package's doc comment.