Use UFCS on asPath
Fix static asserts for slices
Fix static asserts