Implemented auto-generated method.