Removed depreciated code from comments