Cleaning up loading sequence.