Support different types of clearing