Added paperclip support