Deal with default layers in a single place