Automatic dependencies check, close #16