Made the use of obj.class.name explicit.