Removing s3 php class