Removed getMetadata and getHeaders. But also removed the caching in getObject. It's not working and we have to rethink how we can optimize the load between ownCloud and S3 after having a working implementation.