Improve the documentation of Container::register
Both overloads should be documented.