Changed to implement interface.