Fixed class from string code