Fix minor issues with the "interface{}" type and unexported functions