Added default appender and appender selection code that defers requires