Added getLinks() to Resource