Converting things to use cortex.