Add platform attribute