added support for super in initialize method
added documentation