Moving shared to config object