Stricter constness in helper methods of LinksByKey
Only affects recently introduced methods, that is getFirstLink and getAllLinks which are not yet used anyway
Only affects recently introduced methods, that is getFirstLink and getAllLinks which are not yet used anyway