Type matching constructor argument