Adding back print function.