Refactored FunctionContentBuilder.
Refactored FunctionContentBuilder.