library/new: allow registration against primitive types.
templater/bug: WithOptions didn't make sense.