Removed assets call from functions