Handle constant data-structures inside code

Fixes #1