Return objects instead of printing direclty.