Prepare code to the static typing.