Add control type to standalone_example.cpp.