Refs by links: Implemented refs as links for EntityWithSources

Parameter just `sources` is nicer and more consistent with our naming shema. Also on other places.