Re-enabled print functionality for testing.