Added ToRenderable instance for EC
Fixed compilation warnings