Add snippet feature