Code complexity reducing in Protein::Configuration