made Reference model generically relatable