core: added method not found exception, fixes #1