Added support for intialize. Fixed interface issues.