New approach to spec parsing. Generating class code automatically.