Remove old API annotations as the transformer doesn't reference them.

The rest of ModCompatiblity is effectively unused, but is waiting for being fully integrated into the transformer.