Fixed a bad return value to match method declariation.