Implemented some methods.