Class syntax updated