Remove deprecated and backwards compatibility code.

Prepare for RC baby!
@markstory Sorry about the removed tests, I got a bit lazy in investigating and updating them.