Replaced inheritance functions to the inheritance module.