Handling of callback and user parameters.