core: remove stale method declaration missed in da63ae4