Added Api.marshal* helpers and decorators