Make _links optional and update unit tests.