Remove a pointless interface and some outdated tsdoc.

Close #873.