Resmap now based on Dictionary and Elements.