Simplifies retrieval of StreamType.