Add support for unbound methods in compare_as=

@rbm, I think this can be a minor release, and should support the compare_as case you were looking at.