Write #belongs_to, #has_many, and #has_one_through methods for Associatable module.