Add PIL for API access