Fix BlockListener not being defined.