Added magic.
This fixes #2