updated inherits() documentation