Return self from attachData, and adjust code in other areas to keep the flow of all methods similar