Fixed a wrong return type.