removed Layer::Type