Removed unused func param.