Object generates validate and init definitions.