Add mix function to headers