Ls helper

Closes #970.