Made the inner class static to pass findbugs test