Fix datastream hooked access implementation.