This code now shared via LivefyreContent constructor