Fixed an error in the implementation.