Making enter/update/exit methods on state optional.