Remove need for reflection in kinesis with type hints