Pass options hash when creating attachment.