Nicer decode api