Added basic class system.