Removed code repetition from new appenders