Fix for reportlab 3+