Added NamedDomainObjectContainer.create(name, action) to match create(name, closure).
Use extensions.create() instead of add().
Removed unused field.