R# inspired / driven refactor & reformatting.