remove most references to prototype,  railmail still uses it.