Module inheritance to self