Implemented minimum set of functions.