Better errors for attach events
Iteration on API docs