Added generic support for static values.