Improved class syntax