Remove dist build and move onError to its own repo.
Add decorate() method.