Moved interface to API plugin