Add basic support for closure builder.