remove references to extends / mixin etc