removed call to deprecated method parseTypes.