Be strict about runtime dependencies (allowedReferencies)
Refactored not to used custom builder