Add math.abs.
Add helper functions for API arguments detection. Refactor API arguments detection.