Allowing lambdas to be passed into attribute_changed?