Add support for pillow