Add loopdel function.
Add next function from context API.
Move Error to util.
Rename function
Add cache functions.