Implemented pause layer.