Fleshed out initialize method.