Dynamic initialize

Do not merge.