Had to make various changes to get working on 'new' robocop.