Added command plugin related interfaces. Closes #265.