Add type of the variables to the docs

@LukasReschke @MorrisJobke