Change method to public
Modify `resource.href` to allow manual overriding
Generate `resource.href`, `resource.link` only when possible