chore(sofa): remove `sofa.inherits` method

this method isn't used anymore