Fix parsing of deprecated methods/properties/enumerations.