Wrapped binding in immediately executable function.
Removed data parameter.