I removed the rather mongo specifc String getCommand() method ... from the original Shape interface from SD MongoDB.