Add: a mixin to give common properties to child widgets including return values from functions