Got rid of some warnings for unused variables.