Classes and utilities for working with object factories