Make parser parse method swiftier.