added attr writer for new success/failure/completion hooks