More DRY resource registration.