Support constants

In this case the constant will simply be returned instead of generating
some value.
0.4.2