Fix API to follow php_session gem