update to new type parameter syntax. Need to use 'unused_self' parameter until Rust issue 8888 is fixed