Initial changes for red squirrel work from original thoughbot's implementation.