A simpler solution to transferProps

This uses a linter that works on a single file and doesn't need runtime
magic. Unsolved issue: It still passes too much down. How to catch typos?