Fixes method ordering.