Append references to body validation to properly validate inline refs