buffer.Buffer -> buffer.Interface.
editor.Editor -> editor.Interface.