Factor out a single-use variable
Add MiddleClass auto-register trick to README