Implemented the rest functions of the interface.