Assert source type