Removed extraneous function parameters from trace_pixel etc