Bug fix when unknown method passed.