Fix wrong class modifier.