Tweaked registering anonymous behaviours.