Universal backend: make class method definitions prettier