Removed existing code for XNA re-write.