Added parsing of version number and allowAdditionalProperties flag.