Attribution. Closes #482, #463.