Placed in a separate class configuration logic