Added the ability to generate static mapping.