Documentation: Fixed performance mistakes for some layers.