Removed debugging function.