Merge "resourceloader: Add $context to static functions in ResourceLoader"