Minimal library for our need.