Missed a check for function types.