Remove deprecated API classes/methods.