Changed etaExpand to take a String argument.