Removed deprecated message function.