getLiteral and setLiteral functions complete and working.