Refs by links: Implemented refs as links for EntityWithSources

Codestyle: newline after `)))`