Allow class definitions to be defined as container parameters