Code cleanup for the category complements relation compilation