More work on resizing module.