Cleaned up probing code.