Add context blocks for validation, relationship and database index spec groups