Added IsContactPhoto property to the Attachment class en made some speed improvements