Small fixes for the pulse plugin.