Add type to mbed interface