Added API functionality

I would rather go for the 2nd option where we validate the callback. Providing a default callback will just prevent the application from crashing. It will not return nothing to the UI since the response will just get lost underway...