Fixed print () method.