A generalization of the Neron models of Green, Griffiths and Kerr