You are using the documentation for version 4.3.8. Go here for the latest version.
Guidelines, reference material, and tutorials for developing add-ons for ExpressionEngine.
Many of the libraries and helpers available in ExpressionEngine 2 continue to function as expected. They are earmarked for replacement in the future, but are not yet deprecated. Use these freely until replacement libraries or services are created.