Adding status codes and trimming tpl binds.