Move reflection setup to init().