Basic library for instrument operations.