Remove empty params from functions