Fix #308: @expects have correct docstring