Added a bunch of templatebindings, not sure I got all right.