Added more cases for `inherit`