That's wrong. I'll just fix these methods in https://github.com/owncloud/core/pull/4382.