Remove methods from Window API that were used for testing.