Eliminating magic numbers in ParlamentarAdapter class