Metrics/ClassLength fix.