Fix visualisation of variable part of API