Refactored init file.