Adds annotation configuration for Controller classes.