Added bitmap constructor and destructors.