Fixed order of instantion of objects to prevent possible race condition.