New (but still dirty) way of injecting values from field type