We don't need all of these refreshLayer methods. Just a single one that takes a set will suffice.