Added more primitives methods and updated documentation.