Commands apply function with an empty scope