Fix #351: Switch to using the Mekanism API instead of directly calling Mekanism registry classes