Use interfaces as type hints in response component