Added attr_accessible to the generator templates