allow use with paperclip 4.0