Added active_attr model generator