Full refactoring.
Externs.