Make bean converter template typed