Used cssVendorPrefix method for CSS shadows.
Use isEmpty method in downcast function.