Fix type and clarify behaviour