Resolving performance issues on initialize.