Remove legacy APIs and stubbed methods.