Add snippet. Update function calls.