Added binding of the resize func to the module