Enhancing funcionality of attachment_fu specifically needed in MMS project.