Type handling.