Remove unused code
Update API. Use StringLiteral instead of java string.
Add stringify interface.