Added gradient layer class