Basic lib structure.