Only expose the logic in the global space if APP doesn't exists.