Smart enums.