Updated siganture code to use io types.