Passing initializers as functions