Generate destructure methods