Add inherit method