Fix wrong return type.