We should write this shorter.