Updating the code for compatibility with Cortex pull request 160.
Updating the code for compatibility with Cortex pull request 160.

We should make sure the pull request in Cortex go first.

goddardl/gaffer,andrewkaufman/gaffer,lucienfostier/gaffer,appleseedhq/gaffer,chippey/gaffer,davidsminor/gaffer,davidsminor/gaffer,goddardl/gaffer,appleseedhq/gaffer,ivanimanishi/gaffer,cedriclaunay/gaffer,hradec/gaffer,davidsminor/gaffer,appleseedhq/gaffer,hradec/gaffer,hradec/gaffer,hradec/gaffer,cedriclaunay/gaffer,johnhaddon/gaffer,andrewkaufman/gaffer,goddardl/gaffer,johnhaddon/gaffer,cedriclaunay/gaffer,boberfly/gaffer,andrewkaufman/gaffer,hradec/gaffer,johnhaddon/gaffer,appleseedhq/gaffer,GafferHQ/gaffer,cedriclaunay/gaffer,boberfly/gaffer,GafferHQ/gaffer,ImageEngine/gaffer,lucienfostier/gaffer,goddardl/gaffer,andrewkaufman/gaffer,GafferHQ/gaffer,johnhaddon/gaffer,chippey/gaffer,davidsminor/gaffer,GafferHQ/gaffer,lucienfostier/gaffer,GafferHQ/gaffer,ImageEngine/gaffer,ImageEngine/gaffer,chippey/gaffer,lucienfostier/gaffer,boberfly/gaffer,ImageEngine/gaffer,ivanimanishi/gaffer,ivanimanishi/gaffer,johnhaddon/gaffer,andrewkaufman/gaffer,boberfly/gaffer,ivanimanishi/gaffer,chippey/gaffer