Removed debugging stuff for profiling.