Added pointer consumer/producer methods