Added missing parameters to callback methods.