refactored MagicLamp#register_fixture a bit