@fosdev I (for now) intentionally kept the commented lines in here. 
Do we need the slice_known functionality? Or can we live without it? It seems to work just fine this way though.