Trimmed "speclib.lsproblem()"