Config most of config to use annotations