Removed RandomAccessOutputStream from constructor