Fix capitalisation of class variables