Correctly implement shadows.