Change the constants map type to Map
Change emitRenderable to take the renderables list

It should then add elements to this list. This prevents creation
of many Lists at runtime.