Add created_by related resource only if set.