Finally dependency system was implemented as it should be.