:bug: Make takeover inject when polymer present.

- Abstracts actions into functions, makes the multistage story a little
  bit easier to follow.