Remove relations method.
Unbind and manual disposing in Window (see http://redmine.smar.fi/issues/306)