Handle multiple type definition