Implement literals, move internal compiler classes to package 'impl'.