Add a read-only API