Partial implementation of standard library