While delving into the source code of D3, I stumbled upon an intriguing pattern in pie.js. It seems that after being defined as an "inner function," new "methods" are added to it before being returned as a hybrid function/object combination. Can anyone shed light on what is happening here?