method action_archetype_id= was placed outside Activity class defintion