const-ness, and added assert
const-ness, and added assert

danieldresser/cortex,danieldresser/cortex,davidsminor/cortex,goddardl/cortex,lento/cortex,danieldresser/cortex,appleseedhq/cortex,hradec/cortex,davidsminor/cortex,hradec/cortex,davidsminor/cortex,hradec/cortex,davidsminor/cortex,lento/cortex,lento/cortex,goddardl/cortex,appleseedhq/cortex,goddardl/cortex,danieldresser/cortex,appleseedhq/cortex