Maybe add a helpful error message to this?