Local methods should appear before inherited ones in the methods dict

Also, an interface can only extend another, not implement it.