MLlib, exposing special rdd functions to the public