Add magic requires

Fixes #38