Callback added to bearerJS methods