use explicit from to functions for KwArgs and VarArgs, workaround for a possible bug