separate concerns, registry doesn't need to know about path class