Updated model to use delegate_to, and attributes method