Making it possible to pass a function to otherwise as well.