Update to revision 1005