Fixed encoding.

Added shortcuts for constant generators.
Added fixed starting seed for random generators.