Changed UserData to a static class.