feat(API): Added after hooks. Closes #6