Added width parameter to class