Resolving warnings due to incorrect order in initialization list.