flow inheritance spec