Created types for generic callbacks.