Make signature of the setPen method consistent