Started implementing functionality for performing profiling.