Better usage of Layer abstract in map file.