Reduced code repetition.