Added initial support for XNA graphics.