The object exported by the resized is now a function