Add return status to transformer