Anchor support

Fixes #441