Removed class Magic and replaced uses of it with int.