Fixed utils.singleton failure to copy __mro__ attribute