Adding ability to override resize function.
Documenting resize override.