Added syntactic sugar and updated scaladoc.