Add print function to Console class