Fixed incorrect return type.