Eliminate compiler warnings wrt. unused variables