Type hint
Fix style object access in templates.
Variable scope.
BFN