The only problem with that is that I kill my consistency. Every function in this particular project takes the same three objects as arguments and I don't want to break from that. I did come up with a work around though, the new function just deals with the attachments as uploads after the old function returns. So, some slight redundancy but only about 15 lines. I can live with it.