More idiomatic Go (no "var something = NewSomething()" inside functions anymore).