Implement resize and cleanup