Completed code for activities on inheritance and mixins