Fixes #1323: Added View::defaultExtension.