Remove excessive logging and extraneous parameter