More descriptive errors for executable
Add 'dict' helper template function