A onion basic lib.