Add a couple of interface definitions

see #4863

@DeepDiver1975 @karlitschek @icewind1991 @tanghus @bantu