Frontend functions, plugin improvements