Don't use the name but instead test for the attribute being a proc.