Added functionality to construct and parse literals.