Some refactoring around resource creation, as preparation for simpler create/find semantics.