Implemented a few simple methods.