Implements the clearing of guides