Added own stream classes