Cleaned up clustering example.