Dynamic maps

Fixes #7.