Validates method references in code configuration.