Renamed _cleanType() method to _removeCurlyBraces()