Centralize entity initialization into generalized method