Implemented method definitions.