Add `$parent` as fourth parameter to the "compileDefinition" hook (see #6697)