an updated implementation of default Echo plugin