Added use of Scalar::Util, to satisfy origin of blessed method, this does the job in our application