Implemented _rep functions.