Provides to_proc implementations for other Ruby classes than just Symbol.