Specify in detail and document return values of callback functions