Remove extraneous function