Attempted to incorporated attachments, giving casting error.