Minor improvements to the QLayer classes