Added hook for replacing background color.