Changed order of initialization in constructor to avoid gcc compiler warning.