Runtime refactoring and array implementation.