* Fixes for Seafile. Must be made more modular.