Changed read preferences to use prototype