Self links for resources

Reintroduces the "self" links for top-level resources.