Added a line number for unexpected calls.