Removed assertions on strokes and shadows parameters