Fixing bugs in apparatus.