Get rid of setAccessible usage