Add ready/setup callbacks
Improve example