Document mixin.
Resolve routes script based on extensions.