added representations to api classes