Fix aliasing and update docstring