Rewritten Container registration.
Multiple-types registration is supported.