Remove MagicAPI dependency

This comes in via MagicLib anyway