Fixes up some minor details

- Lint-safe modes
- Defaults for file resources
- Instance scope in inline templates