Remove echo/utils dependency from Canvas class