Cleanup shape ext init.