Add callback block

Can use block to receive the callback method.