Some tidying.

Signed-off-by: Chris Lamb <chris@thread.com>