As this is the public interface, please add a full docstring as you have for ```as_cube```.