Initial version.
Added support for profiler.start() and profiler.show().