Internal function to Core.aslx - games should not normally need to call internal functions.
AddStatusAttributesForElement(status, element)