Fixed faultly default logic.
Added onInitialization callback.
Moved callout code to dashboard.