Implemented commandEndpoint