[LIB-253] Refactor all configuration classes to use the new annotations