How Do Magical Systems Work?