Added Unit type annotations to Parent methods.