Add class dependencies and our own key