Fixes for APU in craftmine.