Fixed compiler warning by rearranging class variables in declaration.