Fixed member count issue in class