Fix for wasDerivedFrom statements.