Making elements OS-dependable