Issue #2256355 by tim.plunkett: Make block plugins usable outside the block entity context.
Issue #2176621 by sun, alexpott: Remove global .