Cast liternals to schema. Closes #237