Fixed a small interface implementation bug.