Add factory functions.
gofmt