Added code to profile related files.