Adding nested and proxy stack layers