Add missing static modifier to inner classes